package com.vanguard.commons.echarts;

/**
 * @Title: 饼状图数据封装类
 * @Description:
 * @Author: vanguard
 * @Version: 1.0
 * @Date: 2019/03/14
 */
public class PieData {
    private static final long serialVersionUID = -2573889018261931162L;
    private Object value;
    private String name;

    public PieData(String name, Object value) {
        this.value = value;
        this.name = name;
    }

    public Object value() {
        return this.value;
    }

    public PieData value(Object value) {
        this.value = value;
        return this;
    }

    public Object getValue() {
        return this.value;
    }

    public String getName() {
        return this.name;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public void setName(String name) {
        this.name = name;
    }
}
